package com.wxyzz.canteenadmin.shop.shopList.mapper;

import com.wxyzz.canteenadmin.shop.shopList.VO.ShopVO;
import com.wxyzz.canteenadmin.shop.shopList.param.ShopAddParam;
import com.wxyzz.canteencommon.entity.shop.shopList.ShopList;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShopListMapper {
    List<ShopList> page (@Param("name") String name, @Param("status") Integer status);
    ShopList selectById (Integer id);
    int deleteById (Integer id);
    int deleteBatch (@Param("ids")List<Integer> ids);
    int insert (ShopAddParam shopAddParam);
    int updateById (ShopList shopList);
    List<ShopVO> selectShops ();
}
